package cn.edu.fzu.delivery.domain.entity;

import cn.edu.fzu.delivery.domain.enums.NetworkApplyStatusEnum;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;

/**
 * 网点申请记录
 * @author yifan
 * @date 2022/11/12
 */
@Data
public class NetworkApply {

    private Long                    id;
    //上级网点
    private Network                 parent;
    //名称
    private String                  name;
    //地区
    private Area                    area;
    //详细地址
    private String                  address;
    //备注
    private String                  desc;
    //申请人
    private SysUser                 applicant;
    //审核人
    private SysUser                 reviewer;
    //状态
    private NetworkApplyStatusEnum  status;
    //创建时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
